package cn.book.org.service.impl;

import cn.book.org.domain.Student;
import cn.book.org.mapper.StudentMapper;
import cn.book.org.service.IStudentService;
import cn.book.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yqn
 * @since 2022-07-03
 */
@Service
public class StudentServiceImpl extends BaseServiceImpl<Student> implements IStudentService {

    @Autowired
    private StudentMapper studentMapper;

    @Override
    public List<Student> loadByStu(Long id) {
        return studentMapper.loadByStu(id);
    }
}
